home *** CD-ROM | disk | FTP | other *** search
-
-
- 12-4-85
-
-
- This program was my first attempt at writting an assembler program
- on my AT&T 6300. Wasn't too painful; I still prefer 'C' or similar
- high level languages. Anyway, I wanted to be able to use the battery
- backed clock to set the date and time. The settime program will set
- DOS time for you, but you still have to boot AT&T's MS-DOS to change
- the time of the battery backed clock. I'd like to have that ability
- some day, or better yet have PC-DOS read/write the clock when it's
- time functions are executed. I've noticed that PC-DOS's clock gains
- several minutes an hour.
-
- I am working on a setdate routine that will set the date for you also.
- The calendar doesn't store the full year; just something about 'year
- mod 8' and leap year + something else. Strange because DOS will accept
- a date from 1980 to 2099. Hmmm, 1980 was a leap year...
-
- Much thanks to Howard Ekman, who helped with the horrors of segmented
- memory.
-
- Jerry Wallace
- Mpls, MN 55414
-
- P.S. By the way, just run settime from the DOS prompt and it will set
- the time and display what the time was set to. This works on PC-DOS 3.1
- and AT&T's MS-DOS 2.11 (MS-DOS already does this for you!).
-
- P.P.S Almost forgot this too:
-
- assembled with IBM PC MACRO Assembler ver. 1.0
- link with PC-DOS 3.1 linker
- all under PC-DOS 3.1
-
- (You can find Jerry Wallace and other programmers on:
-
- TERRAPIN STATION BBS
- 612/623-0152
- 24 HOURS A DAY -- 1200/2400
-
- Howard Ekman -- sysop Terrapin Station)
-
-